<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title></title>
    <link rel="stylesheet" href="../../javascript/plug-ins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/style.css" />
    <script src="../../javascript/jquery.js"></script>
    <script type="text/javascript" src="../../javascript/plug-ins/layui/layui.js"></script>
    <script type="text/javascript" src="../../javascript/plug-ins/pagination.js"></script>

    <script src="../../js/zyrpublic.js?v=1.11"></script>
    <script src="../../js/zyrfunction.js?v=1.1"></script>
    <script src="js/AddCarouse.js?v=1.153"></script>

    <style>
        .layui-form select {
            display: none !important;
        }
    </style>
</head>

<body>

    <div class="page-wrap">

        <section class="page-hd t">
            <header>
                <h5 class="title">
                    <a href="#" id="title_name" class="red">轮播图</a>
                </h5>
            </header>
            <hr>
        </section>

        <div class="panel panel-default">

            <div class="form-content">
                <div class="layui-collapse">
                    <div class="layui-colla-item">
                        <h2 class="layui-colla-title">查看图片尺寸</h2>
                        <div class="layui-colla-content">
                            <div>首页轮播图：750*375</div>
                            <div>导航分类：未知</div>
                            <div>天兰头条轮播：未知</div>
                            <div>活动专场入口：670*260</div>
                            <!-- <div>秒杀活动:</div>
                    <div>拼单活动:</div>
                    <div>限时特惠:</div>
                    <div>首页banner图:</div> -->
                            <div>商品分类：525*200</div>
                            <div>积分商城：698*280</div>
                            <!-- <div>领券中心:</div>
                    <div>个人中心:</div> -->
                        </div>
                    </div>
                </div>
                <form class="layui-form" action="" style="margin-top: 20px;">
                    <div class="form-group-col-2">
                        <div class="form-label">轮播图位置：</div>
                        <div class="form-cont">
                            <select class="width20" id="adv_position">
                                <option value="0" selected="selected">请选择轮播图位置</option>
                                <option value="1">首页轮播图</option>
                                <option value="2">导航分类</option>
                                <option value="3">天兰头条轮播</option>
                                <option value="4">活动专场入口</option>
                                <option value="5">秒杀活动</option>
                                <option value="6">拼单活动</option>
                                <option value="7">限时特惠</option>
                                <option value="9">首页banner图</option>
                                <option value="10">商品分类</option>
                                <option value="11">积分商城</option>
                                <option value="12">领券中心</option>
                                <option value="13">个人中心</option>
                            </select>
                            <input id="a_pos" class="form-control width20" type="text" readonly="true;"
                                style="display:none" />
                        </div>
                    </div>


                    <!--	图片start	-->
                    <div class="form-group-col-2" id="adv_picture">
                        <div class="form-label">图片：</div>
                        <div class="form-cont">
                            <input class="btn btn-warning" value="请上传图片" type="button" id="uploadimgs" />
                            <!--<span class="word-aux"><i class="icon-warning-sign"></i>请上传图片宽高比例为7:5</span>-->
                        </div>
                    </div>

                    <div class="form-group-col-2" id="divpreview" style="display:none">
                        <div class="form-label"></div>
                        <div class="form-cont">
                            <img id="preview" src="#" height="100" />
                            <p id="demoText"></p>
                        </div>
                    </div>

                    <!--	图片end	-->
                    <div class="form-group-col-2">
                        <div class="form-label">名称：</div>
                        <div class="form-cont">
                            <input id="name" class="form-control width50" type="text" value="" placeholder="请输入名称" />
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label">排序：</div>
                        <div class="form-cont">
                            <input id="stort" class="form-control width50" type="number" value="0"
                                placeholder="请输入序列" />
                            <span class="word-aux"><i class="icon-warning-sign"></i>数字越大越靠前</span>
                        </div>
                    </div>

                    <div class="form-group-col-2">
                        <div class="form-label">跳转链接：</div>
                        <div class="form-cont">
                            <input id="targetUrl" class="form-control width50" type="text" value=""
                                placeholder="请输入跳转链接" />
                            <span class="word-aux">请输入小程序跳转地址,如pages/xx/xx</span>
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">参数：</div>
                        <div class="form-cont">
                            <input id="para" class="form-control width50" type="text" value="productid"
                                placeholder="请输入参数" />
                            <span class="word-aux">[如果不需要参数地址,则为空]请输入携带的参数名称,如商品id:pid</span>
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">参数：</div>
                        <div class="form-cont">
                            <input id="right" class="form-control width50" type="text" value="" placeholder="请选择参数id" />
                            <span class="word-aux">1、如果为免费领取,请根据下方的选择条件,选择参与免费领取的商品,仅可以选择一个商品<br />
                                2、如果为其它类型,则请自行输入参数</span>
                        </div>
                    </div>
                    <div class="form-group-col-2">
                        <div class="form-label">请选择查询条件：</div>
                        <div class="form-cont layui-form" style="display:-webkit-box;">
                            <select class="width30 prize_select" lay-verify="" id="types" onchange="ChangeChooseInfo()">
                                <option value="0">根据商品类型</option>
                                <option value="1">根据商品</option>
                            </select>
                            <select class="width20" lay-verify="" id="left" lay-filter="ChooseProInfo"></select>
                            <select class="width20 layui-hide" lay-verify="" id="prolist" lay-search
                                lay-filter="ChooseProInfos"></select>
                        </div>
                    </div>
                    <!--				<div class="form-group-col-2">-->
                    <!--					<div class="form-label">选择参与免费兑换的商品：</div>-->
                    <!--					<div class="form-cont">-->
                    <!--						<select class="width20" id="left"></select>-->
                    <!--						<input id="right" class="form-control width20" type="text" readonly="true;"/>-->
                    <!--					</div>-->
                    <!--				</div>-->
                    <div class="form-group-col-2">
                        <div class="form-label"></div>
                        <div class="form-cont">
                            <input type="button" value="提交" class="btn btn-info" onclick="add_adv()" />
                            <input type="button" value="返回" class="btn btn-danger" onclick="re()" />
                        </div>
                    </div>

                </form>

            </div>
            <!--form--->


        </div>
        <!---panel--->

    </div>
    <!---page-wrap------>


</body>


</html>